package com.example.mydemo2;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class PersonalCenterActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Context context = PersonalCenterActivity.this;
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_personal_center);
       ImageView imgOrder = findViewById(R.id.img_order);
        ImageView imgBack = findViewById(R.id.img_back);


       imgOrder.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {

               Intent intent = new Intent(context, OdersListRecycleActivity.class);
               startActivity(intent);
           }
       });
        imgBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                //Intent intent = new Intent(context, IndexActivity.class);
                //startActivity(intent);

            }
        });








    }
}